﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace KSOAdmin.Models.ViewModel
{
    public class View_Sys_Log
    {
        public int ID { get; set; }
        public int? CreateID { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string Create { get; set; }

        /// <summary>
        ///Success
        /// </summary>
        public int? Success { get; set; }

        /// <summary>
        ///   程序时长 毫秒
        /// </summary>
        public int? ElapsedTime { get; set; }

        /// <summary>
        ///请求地址
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        ///日志类型
        /// </summary>
        public string LogType { get; set; }

        /// <summary>
        ///请求参数
        /// </summary>
        public string RequestParameter { get; set; }

        /// <summary>
        ///响应参数
        /// </summary>
        public string ResponseParameter { get; set; }

        /// <summary>
        ///异常信息
        /// </summary>
        public string ExceptionInfo { get; set; }

        /// <summary>
        ///用户IP
        /// </summary>
        public string UserIP { get; set; }

        /// <summary>
        ///浏览器类型
        /// </summary>
        public string BrowserType { get; set; }
        /// <summary>
        ///角色ID
        /// </summary>
        public int? Role_Id { get; set; }
    }
}
